{% extends 'base.html' %}
{% load static %}

{% block title %}用户中心{% endblock title %}
{% block toplink %}
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-4.6.2-dist/css/bootstrap.min.css' %}">
{% endblock toplink %}
{% block content %}

{% include 'header-con.html' %}

<div class="search_bar clearfix">
    <a href="/" class="logo fl"><img src="{% static 'images/logo.png' %}"></a>
    <div class="sub_page_name fl">|&nbsp;&nbsp;&nbsp;&nbsp;用户中心</div>
    <div class="search_con fr">
        <input type="text" class="input_text fl" name="" placeholder="搜索商品">
        <input type="button" class="input_btn fr" name="" value="搜索">
    </div>		
</div>

<div class="main_con clearfix">
    <div class="left_menu_con clearfix">
        <h3>用户中心</h3>
        <ul>
            <li><a href="/user/" {% if page == "info" %}class="active"{% endif %}>· 个人信息</a></li>
            <li><a href="/user/order/1/" {% if page == "order" %}class="active"{% endif %}>· 全部订单</a></li>
            <li><a href="/user/address/" {% if page == "address" %}class="active"{% endif %}>· 收货地址</a></li>
        </ul>

    </div>

    <div class="right_content clearfix">
        {% block user_content %}
        {% endblock user_content %}
    </div>
</div>
    <script src="{% static 'plugins/bootstrap-4.6.2-dist/js/bootstrap.min.js' %}"></script>
{% endblock content %}